home *** CD-ROM | disk | FTP | other *** search
/ Just Call Me Internet / Just Call Me Internet.iso / com / computer / casio_st / prog_fx / oisac2 / l_m6730.txt < prev    next >
Text File  |  1994-03-01  |  1KB  |  31 lines

  1. 5 IFsq<>60 ANDsq<>62 THENsq=226
  2. 10 MODE8:DIM:GOSUB900:ERASEb$:DIMb$(1):b$(0)="Reject":b$(1)="Accept":t$="Test     Hß:åý=åßý  HÆ:åý"+CHR$(sq)+"åßý":c$=CHR$(5):DEFCHR$(252)="123E020000"
  3. 20 CLS:PRINTt$;TAB(0);"input new data (Y/N) ?";:a$=INPUT$(1)
  4. 25 IFa$<>"Y" ANDa$<>"y" THEN40
  5. 30 s$="x":GOSUB"LIB0:S6020":GOSUB900
  6. 40 r=0:f=5:s=sa:IFs>1 THENt=sm ELSEt=0
  7. 45 CLS:PRINTt$;
  8. 50 z=r:s$="åßý":GOSUB500:r=z
  9. 60 z=s:s$="n":GOSUB500:s=z
  10. 70 z=t:s$="S":GOSUB500:t=z
  11. 90 CLS:PRINT"Significance level à[%]";
  12. 95 z=f:s$="à":GOSUB500:f=z:IFf<0 ORf>100 THEN95
  13. 97 CLS:PRINTt$;TAB(0);".....";
  14. 100 n=s-1:p=f/100:IFsq=226 THENp=p/2 ELSEIFsq=60 THENp=1-p
  15. 102 g=0:sr=0:GOSUB"LIB0:S6420":GOSUB900:IFsr THEN*
  16. 104 IFsq=226 THENg=x:p=1-p:GOSUB"LIB0:S6420":GOSUB900:IFsr THEN* ELSEb=x:x=g:g=b
  17. 110 b=1:z=t/r:GOSUB400:a=z:z=x:GOSUB400:x=z:z=g:GOSUB400:g=z
  18. 120 IF(sq=226 ORsq=62) ANDa>x THENb=0
  19. 122 IFsq=60 ANDa<x THENb=0
  20. 123 IFsq=226 ANDa<g THENc=0 ELSEc=1
  21. 130 z=SGN(sq-60):PRINTc$;a;CHR$(60+z*2+b*(164-z));x;:IFsq<63 THENPRINT": ";b$(b);:GOTO150
  22. 140 PRINTTAB(0);a;CHR$(60+c*164);g;": ";b$(b AND c);
  23. 150 a$=INPUT$(1,@):GOTO45
  24. 400 IFz THENz=ROUND(z,LOG(ABSz)-5)
  25. 410 RETURN
  26. 500 LOCATE0,1:PRINTc$;s$;"=";z;"?";:INPUT@10;z:LOCATE0,0:RETURN
  27. 900 ONERRORGOTO910:RETURN
  28. 910 IFERR=1 THENCLS:ONERRORGOTO0
  29. 920 IFERL=500 THENRESUME500
  30. 930 LOCATE0,1:PRINTc$;"not found";:z$=INPUT$(1,@):RESUME20
  31.